Include C headers in introspection file.
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Sun, 4 Mar 2018 00:00:00 +0000 (00:00 +0000)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Sun, 4 Mar 2018 14:36:24 +0000 (15:36 +0100)
commit91498c7db34481c9014dd63f235a1679fc4b8bfb
tree602ffba8e879d0f0bc52c22fe71876082d11afad
parent119d8f996f28c54e5cfc837e6988f6f40408bcb5
Include C headers in introspection file.

Include gtk/gtk.h and gtk/gtk-a11y.h unconditionally,
and gtk/gtkx.h when building with X11. Ensures that
introspection data contains complete set required
headers, which is useful when generating C code based
on introspection data.

Diff for generated gir (when using X11):

```diff
   <include name="xlib" version="2.0"/>
   <package name="gtk+-3.0"/>
+  <c:include name="gtk/gtk-a11y.h"/>
+  <c:include name="gtk/gtk.h"/>
+  <c:include name="gtk/gtkx.h"/>
   <namespace name="Gtk"
              version="3.0"
```

Fixes issue #56.
gtk/Makefile.am